package com.jhgsys.internal.contractor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jhgsys.internal.contractor.dto.BaseContractorTeamDto;
import com.jhgsys.internal.contractor.entity.BaseContractorTeam;
import org.apache.ibatis.annotations.Param;

/**
 * 承包队设置 Mapper
 *
 * @author admin
 * @date 2024-07-29 14:19:05
 */
public interface BaseContractorTeamMapper extends BaseMapper<BaseContractorTeam> {

    IPage<BaseContractorTeamDto> findContractorTeamPage(Page page, @Param("contractorTeam") BaseContractorTeam contractorTeam);

    BaseContractorTeamDto findBaseContractorTeamByIdOrName(@Param("contractorTeam") BaseContractorTeam contractorTeam);


}
